<html>
<head>
<script src="sos.js" language="javascript"></script>
<title>SOS Request</title>
</head>
<body>
<script>
function result(text)
{
alert('result ' + text.getObservation(1).getLocation().getX());
}
var req = new SOS("http://www.intamap.aston.ac.uk:8080/WeatherSOS/sos");
req.getObservations(result, 'WeatherUnderground','urn:x-ogc:def:phenomenon:OGC:Temperature', '2009-03-23T00:00:00-0000', '2009-03-25T23:00:00-0000');
</script>
</body>
</html>
